#include <bits/stdc++.h>
using namespace std;
int main()
{
	vector<int> vl(20, 0), vd(20, 0);
	string l;
	int d[100] = {0};
	cin >> l;
	int llen = l.size();
	int carry = 0;
	int cnt = 0;
	for(int i = llen - 1; i >= 0; i--)
	{
		int t = l[i] - '0';
		vl[t]++;
		int dd = t * 2 + carry;
//		cout << dd << endl;
		vd[dd % 10]++;
		d[cnt++] = dd % 10;
		carry = dd / 10;
	}
	if(carry != 0)
		d[cnt++] = carry;
	int flag = 0;
	for(int i = 0; i < 10; i++)
		if(vl[i] != vd[i])
			flag = 1; 
	if(!flag)
		cout << "Yes" << endl;
	else
		cout << "No" << endl; 
	for(int i = cnt - 1; i >= 0; i--)
		cout << d[i];
	return 0;
}
